<template>
  <div style="height: 100%;background-color: transparent;">
    <x-header :left-options="{backText:'返回'}">项目全景</x-header>
    <iframe :src="link" frameborder="0"></iframe>
  </div>
</template>
<script>
export default {
  name:'projectOverView',
  data(){
    return {
      page:1,
      link:""
    }
  },
  mounted(){
    this.getData();
  },
  methods:{
    search(){
      alert(1)
    },
    refresh(){
      this.getData()
    },
    infinite(){
      this.getData()
    },
    getData() {
      var params='{"_method":"DESIGN_OVERALLVIEW.getLink","sysprjId":"2147"}';
      this.$ajax({
        method:'post',
        url: '/cloudpm/servlet/Action.cmd',
        data:{
          FixJSON: params
        }
      }).then((res) => {
        this.link=res.data.data1[0].LINK;
      })
    }
  }
}
</script>
<style scoped>
 iframe{
   width:100%;
   height:94%;
 }
</style>
